﻿@model Comercio.Models.DB.tb_productos

@{
    ViewBag.Title = "Detalles";
}

<h2>Detalles</h2>

<fieldset>
    <legend>tb_productos</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.IDprod)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IDprod)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.descripcion)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.tb_categorias.descripcate)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.tb_categorias.descripcate)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.cantidad)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.cantidad)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.stockminimo)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.stockminimo)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.precio)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.precio)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
<p>
    @Html.ActionLink("Modificar", "Edit", new { id=Model.IDprod }) |
    @Html.ActionLink("Volver", "Index")
</p>
}